package start.spring.basic.flowable.entity;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import start.spring.basic.ry.annotation.Excel;


/**
 * 流程抄送对象 wf_copy
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
@Data
@TableName("wf_copy")
@ApiModel(value="wf_copy表映射对象", description="")
public class WfCopy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "抄送主键")
    @TableField("copy_id")
    private Long copyId;

    @ApiModelProperty(value = "抄送标题")
    @TableField("title")
    @Excel(name = "抄送标题")
    private String title;

    @ApiModelProperty(value = "流程定义主键")
    @TableField("procdef_id")
    @Excel(name = "流程定义主键")
    private String procdefId;

    @ApiModelProperty(value = "流程名称")
    @TableField("process_name")
    @Excel(name = "流程名称")
    private String processName;

    @ApiModelProperty(value = "流程分类主键")
    @TableField("category_id")
    @Excel(name = "流程分类主键")
    private String categoryId;

    @ApiModelProperty(value = "部署主键")
    @TableField("deployment_id")
    @Excel(name = "部署主键")
    private String deploymentId;

    @ApiModelProperty(value = "流程实例主键")
    @TableField("instance_id")
    @Excel(name = "流程实例主键")
    private String instanceId;

    @ApiModelProperty(value = "任务主键")
    @TableField("task_id")
    @Excel(name = "任务主键")
    private String taskId;
    
    @ApiModelProperty(value = "业务数据主键")
    @TableField("bussiness_id")
    @Excel(name = "业务数据主键")
    private String bussinessId;

    @ApiModelProperty(value = "用户主键")
    @TableField("user_id")
    @Excel(name = "用户主键")
    private Long userId;

    @ApiModelProperty(value = "发起人主键")
    @TableField("originator_id")
    @Excel(name = "发起人主键")
    private Long originatorId;

    @ApiModelProperty(value = "发起人名称")
    @TableField("originator_name")
    @Excel(name = "发起人名称")
    private String originatorName;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    @TableField("del_flag")
    private String delFlag;

	
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("copyId", getCopyId())
            .append("title", getTitle())
            .append("procdefId", getProcdefId())
            .append("processName", getProcessName())
            .append("categoryId", getCategoryId())
            .append("deploymentId", getDeploymentId())
            .append("instanceId", getInstanceId())
            .append("taskId", getTaskId())
            .append("bussinessId", getBussinessId())
            .append("userId", getUserId())
            .append("originatorId", getOriginatorId())
            .append("originatorName", getOriginatorName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
